home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global occupied, topupied, donothing, beenhere
- set donothing to 0
- set the visible of sprite 40 to 1
- if (occupied <> 0) or (topupied <> 0) then
- go("repull")
- else
- if beenhere = 1 then
- set the visible of sprite 9 to 0
- set the visible of sprite 31 to 0
- set the visible of sprite 17 to 0
- set the visible of sprite 11 to 0
- set the visible of sprite 10 to 0
- set the visible of sprite 13 to 0
- set the visible of sprite 14 to 0
- go("repull")
- else
- set the visible of sprite 4 to 1
- set the visible of sprite 5 to 1
- go("WAITING")
- end if
- end if
- end
-